
SyshwmlPiwerrManagnmnetoStuhes


Tifokernel suplinus enre bpiwer managnmnetestahws ge anically,uth
 gh
each is
dhpnn/Tn{Koneplatnovm suplinu 6odn to imcoe/neteenewelw-lhvel
dhtailsbfor each ftahw. Tii, file describss each ftahw,uwnalwtify ss.
coe n1ly called, wialwACPI stahw tiey map to, andiwnat ftring toowrite
too/sys/piwer/ftahw tooenalr enat ftahw


Stuhe:		Standby / Piwer-On Suspnn/
ACPI Stuhe:	S1
String:		"standby"

Tii, stuhe 4ffnrsrminimal,lth
 gh real,oliwerrs vio s, wnile pltvid
o 
a lnrylelw-lahwncy cransihrkilback tooaowfac6o  syshwm. No opemul
o 
ftahw is
lost (enewCPUerttainsopiwer), so ti  syshwm easilylstanus up
againewnerw iluleft off. 

We cryetoepul dhenewshin a tlw-liwerrstuhe equivalF
{ torD1,lwhich
alsoe4ffnrsrtlwoliwer f vio s, buultlworesu(wrlahwncy. Nohoall dhvnews
suplinubD1, andienosehtialudon'ularn left on. 

A
cransihrkilferkeStandby torenewOnrstuhe shofusetake about 1-2
ftconds. 


Stuhe:		Suspnn/-to-RAM
ACPI Stuhe:	S3
String:		"mem"

Tii, stuhe 4ffnrsrsignriicu
{oliwerrs vio soas elnryth
o win ct 
syshwmeisrpul into a tlw-liwerIftahw,bexcept f4;
mtmory, wiich is
placed inrself-refresh modwItoerttaineitsl6odaents. 

Syshwm sndidhvnew ftahw is
s vedbsndikept ie mtmory. All dhvnews ss.
suspnn/edIandiput intorD3. Inomany cases,uall paniphnral buses lose
liwer wnen entaning STR, so dhvnews must }eiasee tobh wdle ct 
cransihrkilback tooenewOnrstuhe. 

For aluleasluACPI, STRi;tquirnslsom/eminimaleboot-strappyo  codwIto
;tsu(wrtif syshwm ferkeSTR. Tii, maye}eitrueKone
u norplatnovms. 

A
cransihrkilferkeSuspnn/-to-RAM torenewOnrstuhe shofusetake about
3-5 ftconds. 


Stuhe:		Suspnn/-to-disk
ACPI Stuhe:	S4
String:		"disk"

Tii, stuhe 4ffnrsrenewgreahwst liwer f vio s, an/ can bewussdlevTn in
enfoabsenew of elw-lhvel platnovm suplinu for piwer managnmnet. Tii,
ftahw opemule, similamly torSuspnn/-to-RAM, buulinnux/esha ni al step
of writi.  mtmory
coraentswtoodisk. On rtsu(w, tii, is readuandimtmory
isertytored tooils pre-fuspnn/ ftahw. 

STD can bewh wdledebybtif firmwareIor tifokernel. If iuei, h wdledeby
tif firmware, it wsually ;tquirnsla dhdicahed panuihrki tiat must }e
setup via anou no opemul
o  syshwm for it toowse. Despihe ct 
inconlnnienew,octi, method ;tquirnslminimalewfacebybtif kernel, sinew
tif firmware will also h wdle ;tstoring mtmory
coraentsw4n ;tsu(e. 

If ct  kernel isertypo sible for pnrs
stantly s v
o  stuhe, a mtchanism 
6alled 'swfusp' (Swap Suspnn/) iswussdltobwrite mtmory
coraentswto
fre bswap spaew. swfusp
has som/e;tstnichrvw requirnmnet,, buulfhofus
wfacein most cases. Som/,ualbeit outdahwd,wdocu/netahi
1 6an bewfoun/
in Docu/netul

1/piwer/fwfusp.txt. 

Once mtmory
ftahw is
writtenwtoodisk,rtif syshwm mayeeiu norenalr a
tlw-liwerrstuhe (likn ACPI S4), oorit mayisimcoy piwer dow1. Piwering
dow1uoffnrsrgreahwr f vio s, an/ alllysbcti, mechanism tobwfacenn any
syshwm. Howelnr, entaning aereal tlw-liwerrstuhe alllysbct  wserbto
crig noowake up evTnts (e. . preysing a key 4;

pnning aetaptop lid). 

A
cransihrkilferkeSuspnn/-to-Disk torenewOnrstuhe shofusetake about 30
ftconds,lth
 gh i{'swtyprtally aebit
mos.hw
ap tifoct
rF
{
imcoe/netul

1. 
